//
//  Common.swift
//  weibo
//
//  Created by 孙英建 on 16/4/17.
//  Copyright © 2016年 itcast. All rights reserved.
//

import UIKit

// 屏幕宽高
let kWidth = UIScreen.mainScreen().bounds.size.width
let kHeight = UIScreen.mainScreen().bounds.size.height

// 微博参数
//let AppKey = "1600675887"
//let AppSecret = "4e5e6a4c0a7fd3cbe0314925c188bdba"
//let redirect_uri = "http://www.baidu.com/"


let AppKey = "1800500038"
let AppSecret = "bbf7a3da3032f974424682fa8e1c7311"
let redirect_uri = "http://www.baidu.com"


// 微博登录信息
//let userName = "rangyuan05788697@163.com"
//let password = "aaa333"


let userName = "13936440107@sina.cn"
let password = "dadario@1989"


// RGB颜色
func RGB(red red: CGFloat, green: CGFloat, blue: CGFloat) -> UIColor{
    return UIColor(red: red / 255, green: green / 255, blue: blue / 255, alpha: 1)
}